package com.kai.service.user.service;

import com.kai.service.data.response.user.RecommendUserInfoResponse;
import com.kai.service.user.entity.UserFocus;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户关注表 服务类
 * </p>
 *
 * @author wjk
 * @since 2022-04-13
 */
public interface IUserFocusService extends IService<UserFocus> {

    /**
     * 关注取关
     *
     * @param fansId
     * @param bloggerId
     * @return
     */
    Boolean focus(Long fansId, Long bloggerId);

    /**
     * 获取推荐用户
     *
     * @param userId
     * @return
     */
    List<RecommendUserInfoResponse> recommendUserInfo(Long userId);
}
